package job.j01;

public class Manager extends Staff{
    private double bonus;
    public Manager(){}
    public Manager(String name,String jobNumber,double salaly, double bonus){
        super(name, jobNumber,salaly);
        this.bonus=bonus;
    }
    @Override
    public String work(){
        return  "正在盯着程序员写代码";
    }

    public double getBonus() {
        return bonus;
    }

    public void setBonus(double bonus) {
        this.bonus = bonus;
    }
}
